write16 provides the trait Write16, which a UTF-16 analog of the core::fmt::Write trait (the sink part—not the formatting part).
write16
Write16
core::fmt::Write
A UTF-16 sink analogous to core::fmt::Write.